<template>
  <AConfigProvider :locale="zhCN" :get-popup-container="getPopupContainer">
    <router-view />
  </AConfigProvider>
</template>

<script lang="ts" setup>
import zhCN from 'ant-design-vue/es/locale/zh_CN';

const getPopupContainer = (node: HTMLElement) => {
  return node?.parentElement || document.body;
};
</script>
